package org.dromara.admin.domain.model;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户密码修改bo
 */
@Data
public class UserPasswordBo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 新明密码
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;

    /**
     * 加密密码
     */
    private String encryptPassword;
}
